MarkLogic 9 Product Documentation
DELETE /manage/v2/packages/{pkgname}/servers/{name}Summary
[DEPRECATED: use
GET /manage/v3
and
POST /manage/v3
instead.]
This resource address deletes the named server
(
name
) from the named package (
pkgname
).
URL Parameters |
group-id={group-id} |
The name or ID of the group from which to delete the named server. This parameter
is required. (The group named in the payload body is ignored.)
|
modules |
Whether or not the modules associated with the server are to be deleted along with
the server configuration to
the package. Set to true to delete the server modules, or
false keep the modules.
|
Required Privileges
This operation requires the
manage-admin
role, or the
following privilege:
http://marklogic.com/xdmp/privileges/manage
Example
curl -X DELETE --digest -u admin:admin -H "Content-type: application/xml" \
"http://localhost:8002/manage/v2/packages/test-package/servers/Oscars"
==> Deletes the 'Oscars' server from the "test-package" package.
Copyright © 2024 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.